package sandbox.psyomn;

import java.util.ArrayList;
import java.util.Date;

import data.RowDataGateway;

public class rdgtst
{
	public static void main(String[] args)
	{
		RowDataGateway rdg;
		RowDataGateway find = new RowDataGateway(); 
		ArrayList<RowDataGateway> aaa = new ArrayList<RowDataGateway>(); 
		
		/*
			rdg = new RowDataGateway("Task1", new java.sql.Date(new java.util.Date().getTime()), "Single", true, null, null);
		*/
		
		/*  // uncomment to add a complex task 
		
		aaa.add(new RowDataGateway("B", new java.sql.Date(new java.util.Date().getTime()), "Single", true, null, null));
		aaa.add(new RowDataGateway("C", new java.sql.Date(new java.util.Date().getTime()), "Single", true, null, null));
		aaa.add(new RowDataGateway("D", new java.sql.Date(new java.util.Date().getTime()), "Single", true, null, null));
		
		rdg = new RowDataGateway("Task1", new java.sql.Date(new java.util.Date().getTime()), "Single", true, null, aaa);
		rdg.insert(); 
		
		*/
		
		/*   // uncomment to read everything. You're supposed to run previous code in order to obtain something on the console :)
		
			aaa = find.findAll();
		
			System.out.println(aaa.get(0).getName());
		
		*/
		
		
	}
}
